#pragma once

#include "../Utilities/utilities.h"

class Box
{
public:
	Box()
	{
	}

	Box(Vector3 pCenter, Vector3 pR) : center(pCenter), r(pR)
	{

	}


	Vector3 center;
	Vector3 r;

	bool testIntersection(Box box);

	//only for test
	inline void print()
	{
		esLogMessage("center %f %f %f\n", center.x, center.y, center.z);
		esLogMessage("r %f %f %f\n", r.x, r.y, r.z);
		esLogMessage("===================================\n");
	}
};